using System;
using System.Collections.Generic;
using System.Text;

namespace DataTransferObject
{
    public class clsTuaSachDTO
    {
        //Fields.
        private String maTuaSach;
        private String tenTuaSach;
        private String maTL;
        private String maTG;
        private String maNXB;
        private String maNN;
        private String tomTat;
        private DateTime ngayNhap; 
        private long gia;
        private int soLuong;
        private int soTrang;
        private int namXB;
        private String hinhAnh;

        //Constructors.
        public clsTuaSachDTO()
        {
        }

        public clsTuaSachDTO(String maTuaSach, String tenTuaSach, String maTL,
                          String maTG, String maNXB, String maNN,
                          String tomTat, DateTime ngayNhap, long gia,
                          int soLuong, int soTrang, int namXB, String hinhAnh)
        {
            this.maTuaSach = maTuaSach;
            this.tenTuaSach = tenTuaSach;
            this.maTL = maTL;
            this.maTG = maTG;
            this.maNXB = maNXB;
            this.maNN = maNN;
            this.tomTat = tomTat;
            this.ngayNhap = ngayNhap;
            this.gia = gia;
            this.soLuong = soLuong;
            this.soTrang = soTrang;
            this.namXB = namXB;
            this.hinhAnh = hinhAnh;
        }

        #region Properties
        public String MaTuaSach
        {
            set { this.maTuaSach = value; }
            get { return this.maTuaSach; }
        }

        public String TenTuaSach
        {
            set { this.tenTuaSach = value; }
            get { return this.tenTuaSach; }
        }

        public String MaTL
        {
            set { this.maTL = value; }
            get { return this.maTL; }
        }

        public String MaTG
        {
            set { this.maTG = value; }
            get { return this.maTG; }
        }

        public String MaNXB
        {
            set { this.maNXB = value; }
            get { return this.maNXB; }
        }

        public String MaNN
        {
            set { this.maNN = value; }
            get { return this.maNN; }
        }

        public String TomTat
        {
            set { this.tomTat = value; }
            get { return this.tomTat; }
        }

        public DateTime NgayNhap
        {
            set { this.ngayNhap = value; }
            get { return this.ngayNhap; }
        }

        public long Gia
        {
            set { this.gia = value; }
            get { return this.gia; }
        }

        public int SoLuong
        {
            set { this.soLuong = value; }
            get { return this.soLuong; }
        }

        public int SoTrang
        {
            set { this.soTrang = value; }
            get { return this.soTrang; }
        }

        public int NamXB
        {
            set { this.namXB = value; }
            get { return this.namXB; }
        }

        public String HinhAnh
        {
            set { this.hinhAnh = value; }
            get { return this.hinhAnh; }
        }

        #endregion.
    }
}
